﻿using System;
using System.Collections.Generic;
using System.Text;
using AdaptiveAgents.Loggers;
using AdaptiveAgents.Running_Tools.Runnings_Packages;

namespace AdaptiveAgents.Running_Tools
{
    /// <summary>
    /// This Class contains all input data that the experiment need.
    /// </summary>
    class ExperimentEntry
    {
        public int ROUNDS;
        public int GAMES;
        public int AGENTS;
        public string TITLE;
        public List<AgentInput> LIST;
        public Logger LOGGER;
        public string GAME_TYPE;
        public string FILE_PATH;

        /// <summary>
        /// Normal Ctor
        /// </summary>
        /// <param name="data">"InputEntry" unit, contains full input data</param>
        public ExperimentEntry(InputPackage data)
        {
            ROUNDS = data.Rounds;
            GAMES = data.Games;
            AGENTS = data.Agents;
            TITLE = Strategist.craeteDataBaseTitle(data.GameType);
            GAME_TYPE = data.GameType;
            LIST = Strategist.createAgentDataList(data.AgentsList, data.isRandom, data.FilePath);
            FILE_PATH = data.FilePath;
        }

    }
}
